package com.hwd.gmall.common.constant;

/**
 * 统一常量类
 *
 * @author 黄伟东/Victor
 * @date 2022/5/11 22:46
 */
public class Const {

    /** 成功 */
    public static final String SUCCESS = "SUCCESS";

    /** 延迟队列绑定死信交换机的参数名 */
    public static final String X_DEAD_LETTER_EXCHANGE = "x-dead-letter-exchange";

    /** 延迟队列过期后进入死信队列的路由参数名 */
    public static final String X_DEAD_LETTER_ROUTING_KEY = "x-dead-letter-routing-key";

    /** 延迟队列过期时间的参数名 */
    public static final String X_MESSAGE_TTL = "x-message-ttl";
}
